const express = require('express')

const app = express()

app.get('/www/:id', (req, res) => {
    res.send('ok')
})

//路径可以用正则
app.get(/\/\d+(www.)?(end)$/, (req, res) => {
    res.send('ok')
})

app.listen(3000,()=>{
    console.log('>>>>>>>>>>>启动');
})